/*
 * @Author: 脉迈
 * @Date: 2022-01-17 16:42:04
 * @LastEditors: 脉迈
 * @LastEditTime: 2022-01-27 10:54:01
 */
import { http } from "../utils/http";
export const saveBlock = (data: any) => {
  return http("block/create", {
    method: "post",
    data,
  });
};

export const getBlockList = (data?: any) => {
  return http("block/get", {
    method: "get",
    data,
  });
};

export const getBlockDetail = (data: any) => {
  return http("block/detail", {
    method: "get",
    data,
  });
};
